(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
$(function() {
  $('.ui-btn').remove();
 $('#sub_btn').click(function(){
	   var name=$('form [name="name"]').val();
	   var phone=$('form [name="phone"]').val();
	   
	   if(name==""||name=="null"){
		   alert('姓名不能为空');   
	   }else if(phone==''||phone=='null'){
		   alert('电话不能为空');   
	   }else if(!(/^1[3458]\d{9}$/.test(phone))){
		   alert('请输入正确的电话号码');   
	   }else{
		   $("#myform").submit();
	   }
   });	
 $('#reset_btn').click(function(){
 	return $('#myform')[0].reset();
 });
});

},{}]},{},[1]);